@import './publicsStyle.less';
// el-button样式的重置
.el-button{
    height: 32px;
    padding: 0px 14px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    border: 1px solid #e2e3e8 !important;
    
    &:focus,
    &:hover{
        background-color: @color-white !important;
    }
    &.el-button--text{
        border-color: transparent !important;
        &:hover{
            background-color: transparent !important;
        }
    }
}

.el-button--primary{
    background-color: @color-primasy !important;
    border-color: @color-primasy !important;
    &:focus,
    &:hover{
        background-color: @color-primasy !important;
        border-color: @color-primasy !important;
    }
}

//table 样式
.el-table__body-wrapper{
    &::-webkit-scrollbar{
        width: 14px;
        height: 16px;
    }
    &::-webkit-scrollbar-thumb {
        /* 滚动条里面小方块 */
        border-radius: 10px;
        background-color: rgba(191, 192, 194, 0.6);
        border: 4px solid transparent;
        background-clip: padding-box;
      }
      &::-webkit-scrollbar-thumb:hover {
        background-color: rgba(101, 102, 104, 0.8);
      }
      &::-webkit-scrollbar-track {
        background: transparent;
      }
      &::-webkit-scrollbar-track:hover {
        background: transparent;
      }
      //滚动条上下两端的按钮
      &::-webkit-scrollbar-button {
        height: 0px;
        width: 0px;
        background-color: transparent;
      }
}


// input框样式  
// .el-input__inner{
//     height: 30px;
// }

// 弹出框样式
.el-dialog{
  margin: 0 auto;
  height:auto;
}
.el-dialog__body{
  padding: 15px 20px;
  overflow-y: scroll;
  &::-webkit-scrollbar {
    /* 滚动条整体样式 */
    width: 14px; /* 高和宽分别对应横向滚动条和竖向滚动条的尺寸 */
    height: 16px;
  }
  &::-webkit-scrollbar-thumb {
    /* 滚动条里面小方块 */
    border-radius: 10px;
    background-color: rgba(191, 192, 194, 0.6);
    border: 4px solid transparent;
    background-clip: padding-box;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(101, 102, 104, 0.8);
  }
  &::-webkit-scrollbar-track {
    background: transparent;
  }
  &::-webkit-scrollbar-track:hover {
    background: transparent;
  }
  //滚动条上下两端的按钮
  &::-webkit-scrollbar-button {
    height: 0px;
    width: 0px;
    background-color: transparent;
  }
}
.el-dialog__header{
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: @color-primasy;
  padding: 0px 20px !important;
  .el-dialog__title{
    color: @color-white !important;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
  }
  .el-dialog__headerbtn{
    // top:1.625rem !important;
    position: static;
    .el-dialog__close{
      color: @color-white !important;
    }
  }
}
.el-dialog__footer{
  text-align: center;
}


//from表单
.el-form-item {
  .el-form-item__label {
    height: 32px;
    text-align: left;
    line-height: 32px;
    font-size: 14px;
    color: #4f5566;
  }
  .el-form-item__content {
    font-size: 14px;
    line-height: 32px;
    .el-input__inner {
      height: 32px;
      line-height: 32px;
      border-radius: 0px;
    }
  }
}

//el-upload
.upload-demo{
  display: block;
}

  .UPLOADSPAN{
    margin-left: 15px;
    font-size: 12px;
    color: rgb(15, 94, 94);
  }
